package homework711;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

import homework710.work3server;

public class work1advance {
	public static void main(String[] args) throws IOException {
		ServerSocket st = new ServerSocket(6666);
		while (true) {
			Socket s = st.accept();
			new work1server(s).start();// 留个聊天线程，当作参数
		}

	}

}
